package com.mydomain;

import lejos.nxt.Button;
import lejos.nxt.Motor;
import lejos.nxt.NXTRegulatedMotor;

public class EgyenesMotor {

    static NXTRegulatedMotor leftMotor = Motor.A;
    static NXTRegulatedMotor rightMotor = Motor.B;
    
	/**
	 * @param args
	 */
	public static void main(String[] args) {

        leftMotor.setSpeed(85);
        rightMotor.setSpeed(85);
        
        leftMotor.forward();
        rightMotor.forward();
        
        Button.waitForAnyPress();
        
        leftMotor.stop();
        rightMotor.stop();

	}

}
